# from PyQt5 import QtCore, QtGui, QtWidgets,QPushButton
from PyQt5.QtWidgets import QWidget,QPushButton,QTextBrowser

class pushButton(QPushButton):
    def __init__(self,name) -> None:
        # super(FooChild,self) 首先找到 FooChild 的父类（就是类 FooParent），然后把类 FooChild 的对象转换为类 FooParent 的对象
        super(pushButton,self).__init__()
        self.setObjectName("pushButton")
        self.setText(name)

class textBrowser(QTextBrowser):
    def __init__(self) -> None:
        super(textBrowser,self).__init__()
        self.setObjectName("textBrowser")

def printTest():
    print("hello")